<include file="Public:header"/>
<form class="ajax-form" action="" method="post">
<div class="form_data">
	<include file="edit_option"/>
	
	<div class="mod_data">
		<div class="name">合同名称</div>
		<div class="input_data">
			{$info['title']}
		</div>
	</div>
	<div class="mod_data">
		<div class="name">合同价格</div>
		<div class="input_data price">
			{$info['service_price']}
		</div>
	</div>

	<div class="mod_data">
		<div class="name">套餐合同</div>
		<div class="input_data">
			<input class="autocomplete" type="text" data-name="agreement_ids[]" is-multi="1" data-url="{:U('autocomplete', array('not_ids' => $info['id']))}" autocomplete="off" placeholder="请填写套餐合同名称">
			<notempty name="list">
				<div class="auto-select-list">
					<volist name="list" id="rs">
						<span>
							<input type="hidden" name="agreement_ids[]" value="{$rs['agreement_id']}">
							{$rs['title']}{$rs['service_price']}
							<i class="if if-cancel" onclick="$(this).parent().remove();"></i>
						</span>
					</volist>
				</div>
			</notempty>
		</div>
	</div>

	<div class="mod_data">
		<div class="name">套餐价格</div>
		<div class="input_data">
			<input type="text" name="package_price" value="{$info['package_price']}" datatype="price" placeholder="请填写套餐价格">
		</div>
	</div>

	<div class="mod_submit">
		<input type="hidden" name="id" value="{$info['id']}">
		<button type="submit" class="btn btn-save">保存</button>
		<button class="btn btn-back">返回</button>
	</div>
</div>
</form>
<include file="Public:footer"/>